.class public Lcom/vividsolutions/jts/operation/relate/EdgeEndBundleStar;
.super Lcom/vividsolutions/jts/geomgraph/EdgeEndStar;
.source "EdgeEndBundleStar.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 58
    invoke-direct {p0}, Lcom/vividsolutions/jts/geomgraph/EdgeEndStar;-><init>()V

    return-void
.end method


# virtual methods
.method public insert(Lcom/vividsolutions/jts/geomgraph/EdgeEnd;)V
    .locals 1

    .line 70
    iget-object v0, p0, Lcom/vividsolutions/jts/geomgraph/EdgeEndStar;->edgeMap:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/vividsolutions/jts/operation/relate/EdgeEndBundle;

    if-nez v0, :cond_0

    .line 72
    new-instance v0, Lcom/vividsolutions/jts/operation/relate/EdgeEndBundle;

    invoke-direct {v0, p1}, Lcom/vividsolutions/jts/operation/relate/EdgeEndBundle;-><init>(Lcom/vividsolutions/jts/geomgraph/EdgeEnd;)V

    .line 73
    invoke-virtual {p0, p1, v0}, Lcom/vividsolutions/jts/geomgraph/EdgeEndStar;->insertEdgeEnd(Lcom/vividsolutions/jts/geomgraph/EdgeEnd;Ljava/lang/Object;)V

    goto :goto_0

    .line 76
    :cond_0
    invoke-virtual {v0, p1}, Lcom/vividsolutions/jts/operation/relate/EdgeEndBundle;->insert(Lcom/vividsolutions/jts/geomgraph/EdgeEnd;)V

    :goto_0
    return-void
.end method

.method updateIM(Lcom/vividsolutions/jts/geom/IntersectionMatrix;)V
    .locals 2

    .line 85
    invoke-virtual {p0}, Lcom/vividsolutions/jts/geomgraph/EdgeEndStar;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 86
    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/vividsolutions/jts/operation/relate/EdgeEndBundle;

    .line 87
    invoke-virtual {v1, p1}, Lcom/vividsolutions/jts/operation/relate/EdgeEndBundle;->updateIM(Lcom/vividsolutions/jts/geom/IntersectionMatrix;)V

    goto :goto_0

    :cond_0
    return-void
.end method
